package com.ldz.eb.service;


import com.ldz.eb.mapper.EbProductMapper;
import com.ldz.eb.module.EbProduct;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ProductService {
    @Resource
    private EbProductMapper ebMP;
    public EbProduct detail(int pid) {
       EbProduct ebP= ebMP.selectById(pid);
       return ebP;
    }
}
